package com.onesports.intelligent.k12.polarlight.domain.entity.student;

import com.baomidou.mybatisplus.annotation.TableName;

import com.onesports.intelligent.k12.polarlight.common.domain.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 考勤记录
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("student_attendance")
@Accessors(chain = true)
public class StudentAttendance extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

    /**
     * 班级学员id
     */
	private String classStudentId;
    /**
     * 课表上课时段id
     */
	private String scheduleDetailId;
    /**
     * 教练id
     */
	private String coachId;
    /**
     * 考勤状态 0：待签到  1：已签到 2：请假 3：未到
     */
	private String attendanceStatus;


	/**
	 * 订单id
	 */
	private String orderId;

	/**
	 * 考勤时间
	 */
	private Date attendanceTime;

	private String attendanceCode;


}
